package com.mt.roll.report.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.mt.roll.core.params.IdParam;
import com.mt.roll.report.params.PrintModelQueryParam;
import com.mt.roll.report.vo.PrintModelVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface PrintModelVoMapper extends BaseMapper<PrintModelVo> {


    /**
     * 获取标签模板分页
     * @param page
     * @param printModelQueryParam
     * @return
     */
    IPage<PrintModelVo> page(Page<PrintModelVo> page, @Param("printModelQueryParam") PrintModelQueryParam printModelQueryParam);

    /**
     * 获取标签模板详情
     * @param idParam
     * @return
     */
    PrintModelVo get(@Param("idParam") IdParam idParam);
}
